Convert a 3D numpy array with strings to a python list in a certain way

welcome to shbcf.ru